<html>
<head>
<?php include 'inc/#head.php';?>
<link href="<?php echo $this->config->item('static_url'); ?>css/manager/globle_search.css" rel="stylesheet" type="text/css" id="cssGlobe">
<link href="<?php echo $this->config->item('static_url'); ?>css/manager/skin_domain.css" id="lnkSkin" type="text/css" rel="stylesheet">
</head>
<body class="SidebarBdWp">
<div class="SidebarWp"><div class="SidebarThemeWp"><div class="SidebarWpInner">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="tbSB">
	<tr><td class="tbSbTop">
    	<h1 class="BigBtnWp">
            <a href="#index.html" id="lnkInbox" class="aShouXIN" ><b class="BBIco"></b><b class="Txt">控制面板</b></a>
            <!--<a href="" target="foldmain"  class="aXieXIN" ><b class="BBIco"></b><b class="Txt">写信</b></a>-->
            <!--<div class="BBVLine"></div>-->
        </h1></td>
    </tr>
    <tr>
    	<td class="tbSbMid">
        	<div class="Sb_ConWp">
            	<div class="Sb_ConWpIn">
                     <div class="PanelWp Panel_PslFld" >
                    	<div class="PanelCon">
                        	<ul>
                            	<li id="menu1" class="Fld_Addr oN" onClick="checmenu(1)"><img class="vTab_Fix" src="<?php echo $this->config->item('static_url'); ?>css/images/vtab_fix.gif"><b class="icoFld"></b><a href="<?php echo $this->config->base_url('manager/welcome'); ?>" target="foldmain"  class="fileItem" id="lnkAddress"><span class="JQ">管理后台首页</span></a></li>
                            	<li id="menu2" class="Fld_Addr" onClick="checmenu(2)"><img class="vTab_Fix" src="<?php echo $this->config->item('static_url'); ?>css/images/vtab_fix.gif"><b class="icoFld"></b><a href="<?php echo $this->config->base_url('manager/myinfo'); ?>" target="foldmain"  class="fileItem" id="lnkAddress"><span class="JQ">管理我的帐号</span></a><span class="Extra">[<a href="<?php echo $this->config->base_url(); ?>manager/myinfo" target="foldmain" >修改</a>]</span>
                                </li>
                                <li id="menu3" class="Fld_Addr" onClick="checmenu(3)"><img class="vTab_Fix" src="<?php echo $this->config->item('static_url'); ?>css/images/vtab_fix.gif"><b class="icoFld"></b><a href="<?php echo $this->config->base_url(); ?>manager/mypower" target="foldmain"  class="fileItem" id="lnkAddress"><span class="JQ">查看我的权限</span></a><span class="Extra"></span>
                                </li>
                            </ul>
                        </div>
                        <div class="PanelCon PanelScl" id="dvDefinedFolder">
                        	<ul id="ulDefFolder"></ul>
                        </div>
                     </div>
                     <div class="Sb_Line" ></div>
                	 <div class="PanelWp Panel_Fld">
                    	<div class="PanelCon">
                        	<ul id="ulSysFolder">
                            <?php foreach($power as $k => $v) {
								if($v['display'] == 1 && $v['orderid'] == 0) {
								$id = $k + 4;
								echo '
                            	<li id="menu'.$id.'" class="Fld_Inbox" onClick="checmenu('.$id.')">
								<img class="vTab_Fix" src="'. $this->config->item('static_url') . 'css/images/vtab_fix.gif">
                                	<b class="icoFld"></b>
                                    <a href="'. $this->config->base_url('manager/'.$v['functions']) 
									.'" target="foldmain"  id="lnk1" class="fileItem" onFocus="this.blur();">
                                    <span class="JQ">'.$v['function_name'].'</span></a>&nbsp;
                                </li>';
								}
							}
                             ?>  
                             </ul>
                         </div>
                    </div>
                    <div class="Sb_Line" ></div>
                </div>
           </div>
    	</td>
    </tr>
</table>
</div></div></div>
<script language="javascript">
function checmenu(v){
	for (i = 1; i <= 50; i++) {
		var n = 'menu'+i;
		if(document.getElementById(n)) {
			document.getElementById(n).className="Fld_Inbox";
		}
	}
	document.getElementById('menu'+v).className='Fld_Inbox oN';
}
</script>
</body>
</html>
